
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGColorMaskChunk.h>
#include <OpenSG/OSGColorMaskChunkBase.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_ColorMaskChunk_activate_overloads_1_2, activate, 1, 2)

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_ColorMaskChunk_changeFrom_overloads_2_3, changeFrom, 2, 3)

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_ColorMaskChunk_deactivate_overloads_1_2, deactivate, 1, 2)

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_ColorMaskChunk_dump_overloads_0_2, dump, 0, 2)


}// namespace


// Module ======================================================================
void Export_src_pyste_gen_ColorMaskChunk()
{
    scope* osg_ColorMaskChunkBase_scope = new scope(
    class_< osg::ColorMaskChunkBase, bases< osg::StateChunk > , boost::noncopyable >("ColorMaskChunkBase", no_init)
//        .def_readonly("MaskRFieldMask", &osg::ColorMaskChunkBase::MaskRFieldMask)
//        .def_readonly("MaskGFieldMask", &osg::ColorMaskChunkBase::MaskGFieldMask)
//        .def_readonly("MaskBFieldMask", &osg::ColorMaskChunkBase::MaskBFieldMask)
//        .def_readonly("MaskAFieldMask", &osg::ColorMaskChunkBase::MaskAFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::ColorMaskChunkBase::MTInfluenceMask)
        .def("getClassType", &osg::ColorMaskChunkBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::ColorMaskChunkBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::ColorMaskChunkBase::*)() )&osg::ColorMaskChunkBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::ColorMaskChunkBase::*)() const)&osg::ColorMaskChunkBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::ColorMaskChunkBase::getContainerSize)
        //.def("getMaskR", (bool& (osg::ColorMaskChunkBase::*)() )&osg::ColorMaskChunkBase::getMaskR, return_value_policy< copy_const_reference >())
        .def("getMaskR", (const bool& (osg::ColorMaskChunkBase::*)() const)&osg::ColorMaskChunkBase::getMaskR, return_value_policy< copy_const_reference >())
        //.def("getMaskG", (bool& (osg::ColorMaskChunkBase::*)() )&osg::ColorMaskChunkBase::getMaskG, return_value_policy< copy_const_reference >())
        .def("getMaskG", (const bool& (osg::ColorMaskChunkBase::*)() const)&osg::ColorMaskChunkBase::getMaskG, return_value_policy< copy_const_reference >())
        //.def("getMaskB", (bool& (osg::ColorMaskChunkBase::*)() )&osg::ColorMaskChunkBase::getMaskB, return_value_policy< copy_const_reference >())
        .def("getMaskB", (const bool& (osg::ColorMaskChunkBase::*)() const)&osg::ColorMaskChunkBase::getMaskB, return_value_policy< copy_const_reference >())
        //.def("getMaskA", (bool& (osg::ColorMaskChunkBase::*)() )&osg::ColorMaskChunkBase::getMaskA, return_value_policy< copy_const_reference >())
        .def("getMaskA", (const bool& (osg::ColorMaskChunkBase::*)() const)&osg::ColorMaskChunkBase::getMaskA, return_value_policy< copy_const_reference >())
        .def("setMaskR", &osg::ColorMaskChunkBase::setMaskR)
        .def("setMaskG", &osg::ColorMaskChunkBase::setMaskG)
        .def("setMaskB", &osg::ColorMaskChunkBase::setMaskB)
        .def("setMaskA", &osg::ColorMaskChunkBase::setMaskA)
        .def("getBinSize", &osg::ColorMaskChunkBase::getBinSize)
        .def("copyToBin", &osg::ColorMaskChunkBase::copyToBin)
        .def("copyFromBin", &osg::ColorMaskChunkBase::copyFromBin)
        .def("create", &osg::ColorMaskChunkBase::create)
        .def("createEmpty", &osg::ColorMaskChunkBase::createEmpty)
        .def("shallowCopy", &osg::ColorMaskChunkBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("MaskRFieldId") = (int)osg::ColorMaskChunkBase::MaskRFieldId;
    scope().attr("MaskGFieldId") = (int)osg::ColorMaskChunkBase::MaskGFieldId;
    scope().attr("MaskAFieldId") = (int)osg::ColorMaskChunkBase::MaskAFieldId;
    scope().attr("NextFieldId") = (int)osg::ColorMaskChunkBase::NextFieldId;
    scope().attr("MaskBFieldId") = (int)osg::ColorMaskChunkBase::MaskBFieldId;

    delete osg_ColorMaskChunkBase_scope;

    class_< osg::ColorMaskChunk, bases< osg::ColorMaskChunkBase > , boost::noncopyable, osg::ColorMaskChunkRefPtr >("ColorMaskChunk", no_init)
        .def("getStaticClassId", &osg::ColorMaskChunk::getStaticClassId)
        .def("activate", &osg::ColorMaskChunk::activate, osg_ColorMaskChunk_activate_overloads_1_2())
        .def("changeFrom", &osg::ColorMaskChunk::changeFrom, osg_ColorMaskChunk_changeFrom_overloads_2_3())
        .def("deactivate", &osg::ColorMaskChunk::deactivate, osg_ColorMaskChunk_deactivate_overloads_1_2())
        .def("switchCost", &osg::ColorMaskChunk::switchCost)
        .def("changed", &osg::ColorMaskChunk::changed)
        .def("dump", &osg::ColorMaskChunk::dump, osg_ColorMaskChunk_dump_overloads_0_2())
        .def("setMask", &osg::ColorMaskChunk::setMask)
        .staticmethod("getStaticClassId")
        //.def( self < other< osg::StateChunk >() )
        //.def( self == other< osg::StateChunk >() )
        //.def( self != other< osg::StateChunk >() )
    ;


    register_ptr_to_python<osg::ColorMaskChunkPtr>();
    implicitly_convertible<osg::ColorMaskChunkRefPtr, osg::ColorMaskChunkPtr>();
    implicitly_convertible<osg::ColorMaskChunkPtr, osg::StateChunkPtr>();

    def("RefPtr", &pyopensg::ToRefPtr<osg::ColorMaskChunkPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::ColorMaskChunkPtr>);
}

